package com.hjb.service.impl.com;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hjb.service.com.ComMobileVersionService;
import com.hjb.service.domain.commobileversion.ComMobileVersion;
import com.hjb.service.domain.commobileversion.ComMobileVersionExample;
import com.hjb.service.mapper.ComMobileVersionMapper;

@Service
public class ComMobileVersionServiceImpl implements ComMobileVersionService {

	private Logger log = LoggerFactory.getLogger(ComMobileVersionServiceImpl.class);
	
	@Autowired
	private ComMobileVersionMapper comMobileVersionMapper;
	
	@Override
	public List<ComMobileVersion> selectByExample(ComMobileVersionExample example) {
		return comMobileVersionMapper.selectByExample(example);
	}

	@Override
	public int insertComMobileVersion(ComMobileVersion comVerifyCode) {
		return comMobileVersionMapper.insertSelective(comVerifyCode);
	}

	@Override
	public int updateComMobileVersion(ComMobileVersion comMobileVersion) {
		return comMobileVersionMapper.updateByPrimaryKeySelective(comMobileVersion);
	}

}
